﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Douban.API.Domain
{
    [DataContract]
    public class Movie : BaseObject
    {
        [DataMember(Name = "alt_title")]
        public string AltTitle { get; set; }

        [DataMember(Name = "image")]
        public string ImageUrl { get; set; }

        [DataMember(Name = "mobile_link")]
        public string MobileLink { get; set; }

        [DataMember(Name = "title")]
        public string Name { get; set; }

        [DataMember(Name = "alt")]
        public string Alt { get; set; }

        [DataMember(Name = "id")]
        public string Id { get; set; }

        [DataMember(Name = "rating")]
        public Rating Rating { get; set; }

        [DataMember(Name = "author")]
        public Author[] Authors { get; set; }

        [DataMember(Name = "tags")]
        public Tag[] Tags { get; set; }

        [DataMember(Name = "attrs")]
        public Domain.Attribute Attribute { get; set; }

    }
}
